package com.ys.fmms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_role_permission")
@Schema(name = "角色权限关系表")
public class RolePermission {
    @TableId(type = IdType.ASSIGN_ID) // 指定主键生成策略使用雪花算法（默认策略）
    private String id;
    @Schema(description = "菜单按钮权限编号")
    private String permissionId;
    @Schema(description = "角色编号")
    private String roleId;
    @Schema(description = "0:未删除 1:删除")
    private Integer isDeleted;
    private Date createTime;
    private Date modifyTime;

}
